/*接口管理文档*/
var addressPayUrl = 'https://cspay.meetao.com/'; //code - 开发
// var addressPayUrl = 'https://ipay.meetao.com/'; //code - 预生产
//var addressPayUrl = 'https://prepay.meetao.com/'; //code - 生产

var addressCodeUrl = 'https://testoauth.meetao.com/'; //code - 开发
// var addressCodeUrl = "https://preoauth.meetao.com/"; //code - 预生产
//var addressCodeUrl = "https://oauth.meetao.com/"; //code - 生产

var addressTest = 'https://testsvr.meetao.com/'; //海林替换专用 8388
// var addressTest = "https://presvr.meetao.com/"; //预生产
//var addressTest = "https://svr.meetao.com/";//生产

var addressUrl = 'https://testfx.meetao.com/'; //分销封闭开发海林替换专用 9088
// var addressUrl = "https://prefx.zimeitang.cn/";//分销-预生产
//var addressUrl = "https://fx.zimeitang.cn/";//分销-生产

var SERVICE = {
  /*最新开发接口开始*/
  /*xubing*/
  //商品详情
  "queryShopCode": "api/fx/user/shop/queryShopCode.jsonp", //商品详情：查询店主邀请码 -- 通用-勿删
  "queryFxGoodsSku": "api/fx/goods/queryFxGoodsSku.jsonp", //商品详情：查询规格数据
  "insertCartGoods": "api/fx/cart/insertCartGoods.jsonp", //商品详情：加入购物车
  "queryCartNum": "api/fx/cart/queryCartNum.jsonp", //商品详情：查询购物车数量
  "outh5": "api/fx/order/fill/out/h5/v2.jsonp", //商品详情：填写订单查询无优惠券H5专用
  //个人中心
  "center": "api/fx/user/person/center.jsonp", //个人中心：用户信息
  "PTcountUnreadNum": "api/groupon/msg/countUnreadNum.jsonp", //个人中心：的拼团查询未读消息数量接口（丁）
  //我的订单
  "orderGet": "api/fx/order/list/get.jsonp", //我的订单：查询订单列表
  "orderDetailGet": "api/fx/order/detail/get/v2.jsonp", //我的订单：查询订单详情接口
  "deleteOrder": "rest/com/simeitol/api/fx/order/db/meetao_sales_order_delcanl_query_action_3.0.0.jsonp", //我的订单：删除订单
  "cancelOrder": "api/fx/order/cancel/upd.jsonp", //我的订单：取消订单(待付款|已付款专用)
  "confirmOrder": "api/fx/order/goods/confirm.jsonp", //我的订单：确认收货
  //物流信息
  "msgInfo": "api/order/shipping/msg.jsonp", //我的订单:拆单物流详细信息
  "messageInfo": "api/shipping/message.jsonp", //我的订单：订单物流详细信息
  // 拼团订单详情
  "PTorderDetail": "api/groupon/order/detail.jsonp", //拼团订单详情：订单详情页查询拼团订单状态接口（丁）
  //拼团规则
  "PTgetruletime": "api/pt/getruletime.jsonp", //拼团规则：获取规则时间（熊）
  //拼团商品详情
  "PTgetMainPD": "api/pt/getMainPD.jsonp", //拼团商品详情：拼团商品详情（熊）
  "PTgetsubPDinfo": "api/pt/getsubPDinfo.jsonp", //拼团商品详情：获取子商品规格详情（熊）
  "PTVerification": "api/pt/Verification.jsonp", //拼团商品详情：验证用户有可以参加活动资格（熊）
  //反向拼团-我的票选
  "FXPTqueryItems": "api/vote/personal/queryItems.jsonp", //我的票选：我的票选列表查询-JS
  //反向拼团-个人中心
  "FXPTcountNotReadMsg": "api/vote/personal/countNotReadMsg.jsonp", //个人中心：统计未读消息条数-JS
  "FXPTqueryUserStatus": "api/vote/share/queryUserStatus.jsonp", //个人中心：查询用户是否有抽奖资格-JS
  //反向拼团-票选详情
  "FXPTVoteinfo": "api/item/Voteinfo.jsonp", //票选详情：获取投票详情（熊）
  "FXPTvote": "api/trace/vote.jsonp", //票选详情：投票（熊）
  "FXPTaddClickLog": "api/vote/share/addClickLog.jsonp", //票选详情：用户点击链接时 添加分享日志（姬帅）






  /*提交订单 - zhj*/
  "getAddressByUser": "api/order/getAddressByUser.jsonp", //查询全部地址
  "delAddress": "api/order/delAddress.jsonp", //删除收货地址
  "getAddressDetails": "api/order/getAddressDetails.jsonp", //查询地址详情
  "updAddress": "api/order/updAddress.jsonp", //修改收货地址
  "updateDefaultAddress": "api/address/updateDefaultAddress.jsonp", //设置默认地址
  "queryDefaulAddressByUser": "api/address/queryDefaulAddressByUser.jsonp", //查询默认地址
  "updDefaultAddress": "api/order/updDefaultAddress.jsonp", //设置默认收货地址
  "addAddress": "api/address/addAddress.jsonp", //新增收货地址
  //分销-jsl
  "queryBanner": "api/fx/banner/queryBanner.jsonp", //查询banner
  "queryClassify": "api/sys/common/query_meetao_goods_cat-action.jsonp", //首页查询商品分类
  "queryFxGoodsList": "api/fx/goods/queryFxGoodsList.jsonp", //查询分销商品列表
  "fxH5Login": "api/uc/auth/h5/fx/login.jsonp", //H5分销登录
  "fxCode": "api/uc/sms/code/get/v3.jsonp", //分销login验证
  "rlCode": "api/uc/auth/upgrade/dz/sms.jsonp", //认领店主验证
  "rldz": "api/uc/auth/h5/fx/upgrade/dz.jsonp", //认领店主
  "getDefaulAddressByUser": "api/order/getDefaulAddressByUser.jsonp", //查询是否有默认收获地址
  "isDz": "api/fx/user/query/user/basic/info.jsonp", //查询用户主页数据-wzh
  "submitH5Order": "api/fx/order/add/v3.jsonp", //H5专用提交订单 - 反向拼团版
  "payUrl": "api/pay/entrance/v2.jsonp", //aLipay or wxpay
  "getOrderInfo": "api/fx/order/success/get.jsonp", //支付成功查询
  "addAddressOrder": "api/order/addAddressOrder.jsonp", //新增收货地址
  "queryGoodsRecommend": "api/fx/goods/queryGoodsRecommend.jsonp", //推荐商品-wzh
  "queryCartGoods": "api/fx/cart/queryCartGoods.jsonp", //查询购物车
  "updateCartGoodsNum": "api/fx/cart/updateCartGoodsNum.jsonp", //修改购物车商品数量
  "updateCartGoodsCheck": "api/fx/cart/updateCartGoodsCheck.jsonp", //修改购物车选中商品
  "orderforh5": "api/fx/order/fill/out/h5/v2.jsonp", //填写订单查询无优惠券H5专用 - /v2
  "orderforh5V3":"api/fx/order/fill/out/v3.jsonp",//填写订单查询商品优惠券接口
  "getCouponsV3":"api/fx/order/coupons/get/v3.jsonp",//查询单品优惠券接口
  "chanceUpdV3":"api/fx/order/coupons/upd/v3.jsonp",//更改订单优惠券
  "deleteCartGoods": "api/fx/cart/deleteCartGoods.jsonp", //清空失效商品
  "getOrderDetails": "api/order/getAddressDetails.jsonp", //查询地址详情
  "cacheCartGoods": "api/fx/cart/cacheCartGoods.jsonp", //缓存购物车数据 8488
  "getCacheCartGoods": "api/fx/cart/getCacheCartGoods.jsonp", //获取缓存内容
  "getToken": "api/uc/auth/login/get/token.jsonp", //H5分销根据用户id获取token
  "ptOrderList": "api/groupon/order/list.jsonp", //我的拼团查询拼团订单列表接口
  "queryGiftPacks": "api/fx/goods/queryGiftPacks.jsonp", //查询大礼包
  "queryJudge": "api/uc/binding/judge.jsonp", //app判断用户身份，里面判断了绑定微信的情况和绑定店铺邀请码的情况
  "ptSubmit": "api/pt/order.jsonp", //提交订单并开团或参团(熊)
  "getGiftUserPhone": "api/fx/user/query/phone.jsonp", //获取手机号
  "verifyIdentity": "api/pt/indetifynewman.jsonp", //验证是否可以支付款新手团单据（熊）
  "queryUserCouponsV2": "api/fx/coupons/queryUserCouponsV2.jsonp", //查询用户优惠券--卫志浩
  "queryFxGoodsDetail": "api/fx/goods/queryFxGoodsDetail.jsonp", //查询分销商品详情
  "queryGoodsDetail": "api/goods/queryGoodsDetail.jsonp", //查询商品详情
  "queryFxGoodsRecommend": "api/fx/goods/queryGoodsRecommend.jsonp", //推荐商品-wzh
  "randomRecommendGoods": "api/goods/queryGoodsRecommend.jsonp", //随机推荐商品 变更
  "queryGoodsDiary": "api/goods/queryGoodsDiary.jsonp", // 查询商品关联的日记
  "fxH5Save": "api/uc/auth/h5/fx/share/login.jsonp", //登录-H5分享分销登录
  "queryUserSignRecord": "api/sign/queryUserSignRecord.jsonp", //抽奖记录
  "orderPrizeSubmit": "api/fx/order/draw/submit.jsonp", //抽奖订单提交
  "queryGoodsByGoodsCode": "api/fx/goods/queryGoodsByGoodsCode.jsonp", //查询规格商品
  "luckDrow": "api/reward/luckDrow.jsonp", //抽奖接口 2
  "queryReward": "api/reward/queryReward.jsonp", //抽奖转盘数据 1
  "luckDrowDate": "api/main/fx/virtual/luckDrowDate.jsonp", //滚动中奖信息查询接口 1
  "pxSign": "api/pay/vote/sign.jsonp", //票选投票支付 - wl
  "fxDzPhone": "api/uc/judge/dz.jsonp", //根据手机号判断用户是否是店主
  "fxNameSave": "api/fx/user/info/save.jsonp", //用户真实姓名录入
  "getFxCollegeDetail": "api/fx/content/beautyschool/detail.jsonp", //fx姿美学院详情查询
  "errorInfo": "/log/error/app/add.jsonp", //错误信息收集
  "newgoods":"api/newgoods/isvote.jsonp",//查询是否参加过票选(熊)
  /*拼团首页获取商品接口 - zhj*/
  "getgrouplist": "api/pt/getgrouplist.jsonp", //获取拼单首页商品列表
  "getgroupinfo": "api/pt/getgroupinfo.jsonp", //支付成功获取拼团详情
  "sharegetgroupinfo": "api/pt/sharegetgroupinfo.jsonp", //分享后进入获取拼团详情
  "Verification": "api/pt/Verification.jsonp", //验证用户有可以参加活动资格
  "checkFirstAndSend": "api/groupon/coupon/checkFirstAndSend.jsonp", //我的拼团查询是否为第一次成功成团接口
  "saveShareLog": "api/groupon/log/saveShareLog.jsonp", //保存票选优品活动分享日志接口（丁）
  "addClickLog": "api/vote/share/addClickLog.jsonp", //用户点击链接时 添加分享日志（姬帅）
  "gethotgrouplist": "api/pt/gethotgrouplist.jsonp", //获取火热拼列表
  /*票选优品 - cuiweif*/
  "votegoodslist": "api/vote/index/queryVoteForTheBestList.jsonp", //票选优品的列表
  "voteactivelist": "api/vote/index/queryVoteActivityMoreList.jsonp", //票选活动期数更多的列表
  "voteacfunlist": "api/vote/index/queryBarrageList.jsonp", //查询票选优品的弹幕列表
  "votegoodsbanner": "/api/fx/banner/queryBanner.jsonp", //bannner模块
  "votebannerdown": "api/vote/index/queryVoteVersionApplication.jsonp", //banner下面图片模块
  "votenewgoods": "api/vote/index/queryVoteNewGoodsInfoList.jsonp",
  /*溯源 - cuiweif*/
  "backsource": "api/trace/searchMaintrace.jsonp", //溯源模糊查询
  "backsourcecode": "api/trace/searchtrace.jsonp", //溯源精确查询
  "sourceinfo": "api/trace/searchtraceinfo.jsonp", //溯源详细信息
  "sourcetalk": "api/comment/commentSelect.jsonp", //溯源评论接口
  "searchid": "api/comment/commentSelectReply.jsonp",
  "sourceadd": "api/comment/commentInsert.jsonp",
  "voteaction": "api/trace/vote.jsonp", //投票
  "gethotgrouplist": "api/pt/gethotgrouplist.jsonp", //获取火热拼列表
  /*反向拼团-票选优品 - zhj*/
  "getVoteForTheBestList": "api/vote/index/queryVoteForTheBestList.jsonp", //获取票选优品的列表
  "queryVoteActivityMoreList": "api/vote/index/queryVoteActivityMoreList.jsonp", //票选活动期数更多的列表
  "queryDefaultActivity": "api/vote/share/queryDefaultActivity.jsonp", //获取票选活动期数
  "queryActivityList": "api/vote/share/queryActivityList.jsonp", //查询活动版本分页信息及用户排名（更多）
  "queryRankList": "api/vote/share/queryRankList.jsonp", //查询某期活动的达人排行榜
  "queryUser": "api/vote/share/queryUser.jsonp", //查询当前用户在活动达人榜的信息
  "queryShareList": "api/vote/share/queryShareList.jsonp", //查询用户该期的分享列表
  "queryBarrageList":"api/vote/index/queryBarrageList.jsonp",//查询票选优品的弹幕列表
  /*微信群运营分享 - zhj*/
  "queryFxGoodsListV2":"api/fx/goods/queryFxGoodsListV2.jsonp",//群运营秒杀活动查询
  "searchResources":"api/main/search/searchResources.jsonp",//群运营查询商品列表
  "WXList":"api/fx/wx/group/list.jsonp",//获取微信群信息列表
};
